package com.ds.lens.data.vo.in.v2.monitor.state;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author WeiShaoying
 * @date 2019/11/14 上午11:51
 */
@Setter
@Getter
public class LensMonitorStateSaveInVO {
    @NotNull(message = "监控id不能为空")
    private Long monitorId;

    @NotNull(message = "监控版本不能为空")
    private Integer version;

    @NotNull(message = "目标状态不能为空")
    private Map<String, Integer> targets;

    @NotNull(message = "数据状态变更时间")
    private Long modifiedTime;

    @NotNull(message = "数据丢失不能为空")
    private Boolean missing;

    @NotNull(message = "interval不能为空")
    private Integer interval;

    @NotNull(message = "静默不能为空")
    private Boolean mute;

    @NotNull(message = "重新通知时间不能为空")
    private Integer renotifyDuration;
}
